package badugi;


/**
 * Created by grzegorz on 10/10/14.
 * A card is identified by it's rank (A,2,3, ... , J,Q,K) and it's suit (SPADE, HEART, DIAMOND and CLUB
 */
public class Card {
	/**
	 * Card's suit
	 */
	private Suits suit;
	/**
	 * Card's rank
	 */
	private Ranks rank;
	/**
	 * Public method that returns card's suit.
	 * @return Suits suit
	 */
	public Suits getSuit() {
		return suit;
	}
	/**
	 * Public method that returns card's rank.
	 * @return Ranks rank
	 */
	public Ranks getRank() {
		return rank;
	}
	/**
	 * Public constructor.
	 * @param suit Suit
	 * @param rank Rank
	 */
	public Card( Suits suit, Ranks rank ) {
		this.suit = suit;
		this.rank = rank;
	}
	
}
